export default {
    SET_LOGININFO(state, data) {
      state.loginInfo = data;
      try{
        window.localStorage.setItem('loginInfo', JSON.stringify(data));
      }catch(e){}
      
    },
    SET_GAMEURL(state,data){
      state.gameUrl=data;
    },
    SET_USERINFO(state,data){
      state.userInfo=data;
    },
    SET_RELOAD(state,data){
      state.isReload=data;
    },
    SET_PATH(state,data){
      state.path=data
    }
}